package com.video.video.domain;

import com.video.common.core.domain.BaseEntity;
import java.math.BigDecimal;
import com.video.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 合伙人转增记录对象 d_subgift_record
 *
 * @author ruoyi
 * @date 2022-09-27
 */
public class DSubgiftRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 合伙人id */
    @Excel(name = "合伙人id")
    private String hid;

    /** 会员id */
    @Excel(name = "会员id")
    private String uid;

    /** 当前合伙人账户金额（充值前） */
    @Excel(name = "当前合伙人账户金额", readConverterExp = "充=值前")
    private BigDecimal currentAmount;

    /** 充值金额 */
    @Excel(name = "充值金额")
    private BigDecimal amount;

    @Excel(name = "当前合伙人账户赠送金额", readConverterExp = "充=值前")
    private BigDecimal currentGiveAmount;

    /** 赠送金额 */
    @Excel(name = "赠送金额")
    private BigDecimal giveAmount;


    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setHid(String hid)
    {
        this.hid = hid;
    }

    public String getHid()
    {
        return hid;
    }
    public void setUid(String uid)
    {
        this.uid = uid;
    }

    public String getUid()
    {
        return uid;
    }
    public void setCurrentAmount(BigDecimal currentAmount)
    {
        this.currentAmount = currentAmount;
    }

    public BigDecimal getCurrentAmount()
    {
        return currentAmount;
    }
    public void setAmount(BigDecimal amount)
    {
        this.amount = amount;
    }

    public BigDecimal getAmount()
    {
        return amount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("hid", getHid())
            .append("uid", getUid())
            .append("currentAmount", getCurrentAmount())
            .append("amount", getAmount())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }

    public BigDecimal getCurrentGiveAmount() {
        return currentGiveAmount;
    }

    public void setCurrentGiveAmount(BigDecimal currentGiveAmount) {
        this.currentGiveAmount = currentGiveAmount;
    }

    public BigDecimal getGiveAmount() {
        return giveAmount;
    }

    public void setGiveAmount(BigDecimal giveAmount) {
        this.giveAmount = giveAmount;
    }
}
